package com.cloud.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cloud.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 系统附件
 *
 * @author yzj
 * @since 2022-11-30
 */
@Data
@Schema(name = "SysProjectAnnex对象", description = "系统管理")
@TableName("sys_project_annex")
public class ProjectAnnex extends BaseEntity {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "系统编号")
    private String sysCode;

    @Schema(description = "附件类型（1使用文档 2配套工具 3应用APP）")
    private String annexType;

    @Schema(description = "附件名称")
    private String annexName;

    @Schema(description = "附件图标")
    private String iconUrl;

    @Schema(description = "上传附件地址")
    private String annexUrl;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "项目名称")
    @TableField(exist = false)
    private String sysName;

}
